package maintain

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/maintain/v1"
)

func (c *ControllerV1) OptionLogList(ctx context.Context, req *v1.OptionLogListReq) (res *v1.OptionLogListRes, err error) {
	res = &v1.OptionLogListRes{}
	res.Rows, res.Total, err = service.OptionLog().List(ctx, &req.OptionLogListInput)
	return
}
